package com.btnc.observer;

import org.springframework.context.support.FileSystemXmlApplicationContext;

public class SpringStarter {

	public static void main(String[] args) {
		FileSystemXmlApplicationContext applicationContext = new FileSystemXmlApplicationContext(
				"file:configuration/btnc-observer/btnc-observer-spring.xml");
		applicationContext.start();
		System.out.println("Btnc Observer started successfully");

		applicationContext = new FileSystemXmlApplicationContext(
				"file:configuration/btnc-observer/traffy-observer-spring.xml");
		applicationContext.start();
		System.out.println("Traffy Observer started successfully");

		applicationContext = new FileSystemXmlApplicationContext(
				"file:configuration/btnc-observer/pos-observer-spring.xml");
		applicationContext.start();
		System.out.println("POS Observer started successfully");

		applicationContext = new FileSystemXmlApplicationContext(
				"file:configuration/btnc-observer/google-observer-spring.xml");
		applicationContext.start();
		System.out.println("Google Observer started successfully");
	}

}
